package com.gec.teams.wechat.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import lombok.Data;

/**
 * @author cr
 * @date 2022/6/30
 * @description
 */
@ApiModel("测试sayhello参数类")
@Data
public class TestSayHelloVo {

    @NotBlank
    //@Pattern(regexp = "^[\\u4e00-\\u9fa5]{2,15}$",message = "姓名应为2-15中文")
    @ApiModelProperty("姓名：2-15中文")
    private String name;


}